home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Digi-view 4.0 PAL.adf / DV-Link / Image-Convert < prev    next >
AmigaDOS Script File  |  2018-01-18  |  1KB  |  67 lines

  1. .key LeaveThisHere
  2.  
  3. DoWeHaveMem
  4. if warn
  5. echo "                Sorry - This demo requires 1 megabyte of memory"
  6. wait 2
  7. skip NoMemory
  8. endif
  9.  
  10. if not exists RAM:Echo
  11. copy DVLink RAM:
  12. copy C:Wait RAM:
  13. copy C:Echo RAM:
  14. endif
  15.  
  16. RAM:echo " A sample script to demo Digi-View's image processing."
  17. RAM:echo " It shows the same 4096 color picture from Digi-Paint 3"
  18. RAM:echo " in black & white, 32 color, and HAM Plus."
  19. RAM:echo " Requires 1 meg of memory"
  20. RAM:echo ""
  21.  
  22. cd /      ; MUST BE IN DIGI-VIEW DIRECTORY
  23. RAM:DVLink quit   ;quit Digi-View and load right mode
  24. RAM:echo " Now Loading Digi-View ..."
  25. RAM:echo ""
  26. run >nil: DV 320 256 c
  27. RAM:wait 4             ; Floppy delay, change for hard drive
  28. RAM:echo " Now showing black and white ..."
  29. RAM:DVLink scbk
  30. RAM:echo ""
  31. RAM:wait 2             ; Floppy delay, change for hard drive
  32. lab loop
  33. RAM:DVLink mbaw
  34. if warn
  35. RAM:wait 2
  36. skip loop back      ;wait for Digi-View to load
  37. endif
  38.  
  39. RAM:DVLink scfr
  40. RAM:DVLink liff Images/Groucho.DP3
  41. RAM:wait 2
  42.  
  43. RAM:DVLink scbk
  44. RAM:echo " Now showing as 32 color ..."
  45. RAM:echo ""
  46. RAM:DVLink mcol
  47. RAM:DVLink npal 32
  48. RAM:wait 3
  49. RAM:DVLink scfr
  50. RAM:DVLink disp
  51. RAM:wait 2
  52.  
  53. RAM:DVLink scbk
  54. RAM:echo " Now showing as HAM Plus ..."
  55. RAM:DVLink mhap
  56. RAM:wait 3
  57. RAM:DVLink scfr
  58. RAM:DVLink disp
  59. RAM:wait 2
  60.  
  61. RAM:echo ""
  62. RAM:echo " Done!"
  63. RAM:DVLink scbk
  64. RAM:DVLink quit
  65.  
  66. lab NoMemory
  67.